import request from '@/utils/request'
// 添加公告接口
export const addNoticeService = (data) => {
  return request.post('/admin/notice', data)
}

// 删除公告接口
export const deleteNoticeService = (noticeId) => {
  return request.delete(`/admin/notice`, { params: { id: noticeId } })
}

// 获取公告列表接口（示例）
export const noticeListService = (params) => {
  return request.get('/admin/notice/page', { params: params })
}